﻿using System.ComponentModel.DataAnnotations;

namespace AnQinManagermentBackendAPI.Model.DTO.DevelopManagement
{
    /// <summary>
    /// 开发管理表模型 - 计划时间
    /// </summary>
    public class DevelopManagementPlanDTO
    {
        /// <summary>
        /// 开发管理Id
        /// </summary>
        [Required(ErrorMessage = "开发管理Id不能为空")]
        public string Id { get; set; }

        /// <summary>
        /// 计划开始时间
        /// </summary>
        [Required(ErrorMessage = "计划开始时间PlanStartTime不能为空")]
        public DateTime PlanStartTime { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        [Required(ErrorMessage = "计划结束时间PlanEndTime不能为空")]
        public DateTime PlanEndTime { get; set; }
    }
}
